package com.hskn.hss.module.planDetail.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.planDetail.entity.TlPlanDetail;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-07
 */
public interface ITlPlanDetailService extends IService<TlPlanDetail> {
    AjaxResult insert(JSONObject params);

    AjaxResult update(JSONObject params);

    AjaxResult deleteByid(String id);

    void deleteByMap(String maintbid) throws HssException;

    List<TlPlanDetail> getitemListByParentId(String id) throws HssException;
}
